#ifndef VectorBasedParticlePopulation_hpp
#define VectorBasedParticlePopulation_hpp

#include <vector>
#include <particles/IParticlePopulation.hpp>

class VectorBasedParticlePopulation : public IParticlePopulation {
	public:
		VectorBasedParticlePopulation();
		~VectorBasedParticlePopulation();
		//
		virtual unsigned size();
		virtual void add(Particle *p);
		virtual bool remove(unsigned i);
		virtual Particle* get(unsigned i);
	protected:
		std::vector<Particle*> plist;
};

#endif
